package com.xbniao.gcfs.common.util.ExportExcel;

/**
 * @Author:wangbin.
 * @Description.
 * @Date:Created in 14:46 2018/3/18.
 * @Modified By:
 */
public class WDWUtil {
    public static boolean isExcel2003(String filePath) {
        return filePath.matches("^.+\\.(?i)(xls)$");
    }
    public static boolean isExcel2007(String filePath) {
        return filePath.matches("^.+\\.(?i)(xlsx)$");
    }
}
